
/* 文件管理 */
import FileManage from '../pages/fileManage'
import HealthManage from '../pages/fileManage/healthManage'
import TravelManage from '../pages/fileManage/TravelManage'
/* 用户管理 */
import SuperManage from '../pages/superManage'
/* 超级管理*/
import UserManage from '../pages/userManage'


/* 需要权限判断的路由 */
const dynamicRoutes = [
    {
        path: '/file',
        component: FileManage,
        name: 'order-manage',
        meta: {
            name: '文件管理',
            icon: 'icon-email'
        },
        children: [
            {
                path: 'health',
                name: 'health',
                component: HealthManage,
                meta: {
                    name: '健康码管理',
                    icon: 'icon-quit'
                }
            },
            {
                path: 'travel',
                name: 'travel',
                component: TravelManage,
                meta: {
                    name: '行程码管理',
                    icon: 'icon-service'
                },
                
            },
            
        ]
    },
    {
        path: '/user',
        component: UserManage,
        name: 'user',
        meta: {
            name: '用户管理',
            icon: 'icon-order-manage'
        },
    },
    {
        path: '/super',
        component: SuperManage,
        name: 'super',
        meta: {
            name: '超级管理',
            icon: 'icon-order-manage'
        },
    }
]

export default dynamicRoutes
